package com.gridmobi.xrtb.handler;

import com.gridmobi.xrtb.domain.dsp.DspTrackLog;
import com.gridmobi.xrtb.model.openrtb23.OpenRTB23BidRequest;
import com.gridmobi.xrtb.model.openrtb23.OpenRTB23BidResponse;

/**
 * @author huangyongchao
 * log接口
 */
public interface BiddingLogger {
    /**
     * rtb request log writer
     *
     */
    void requestlog(String os ,String deviceid ,String ip,String appid);

    /**
     * rtb bid log writer
     * @param resp
     * @param bidRequest
     */
    void bidlog(OpenRTB23BidResponse resp,OpenRTB23BidRequest bidRequest);
    void bidlogSend(DspTrackLog dspTrackLog);

    /**
     * rtb win log writer
     *
     * @param dspTrackLog
     */
    void winlog(DspTrackLog dspTrackLog);

    void losslog(DspTrackLog dspTrackLog);

    /**
     * rtb impr log writer
     *
     * @param dspTrackLog
     */
    void imprlog(DspTrackLog dspTrackLog);

    /**
     * rtb click log writer
     *
     * @param dspTrackLog
     */
    void clicklog(DspTrackLog dspTrackLog);

    /**
     * rtb land log writer
     *
     * @param dspTrackLog
     */
    void landlog(DspTrackLog dspTrackLog);


}
